Graphic objects and drawing elements > Property Panel > All properties and connections > NumberOfStates
Specifies the number of states for the object. This number does not include the error state, if any.